Skip to content

ValueFlow: Limit the combinations of arguments passed to subfunctions in normal analysis - #4950

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
pfultz2:valueflow-subfunction-limit
Apr 12, 2023
Merged

ValueFlow: Limit the combinations of arguments passed to subfunctions in normal analysis#4950
danmar merged 1 commit into
cppcheck-opensource:mainfrom
pfultz2:valueflow-subfunction-limit

Conversation

@pfultz2

@pfultz2 pfultz2 commented Apr 11, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@danmar danmar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a dramatic effect on run time for me 👍

Checking lib/symboldatabase.cpp with main head:

real    1m19,580s
user    1m19,553s
sys     0m0,024s

Checking lib/symboldatabase.cpp with these changes:

real    0m14,697s
user    0m14,671s
sys     0m0,024s

At the same time when I check the whole "lib" folder the time-saving is ~1 minute so I assume that most of the checking is not affected much.

@danmar
danmar merged commit 1f0376b into cppcheck-opensource:main Apr 12, 2023
@pfultz2
pfultz2 deleted the valueflow-subfunction-limit branch April 12, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants